import axios from "axios";

const instance = axios.create({
  baseURL: "/",
  timeout: 5000,
});

instance.interceptors.response.use((res) => {
  return res.data
}, (err) => {
  return Promise.reject(err.message)
})

export default instance